package com.yunxin.core.infra.persistence.mapper.popup;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zero°
 * @since 2023-12-11
 */
@DS("core")
@Mapper
public interface PopupProductConfigExtendMapper extends PopupProductConfigMapper{

    /**
     * 查询最新产品数据
     * @param id id
     * @param releaseStatus releaseStatus
     * @return String 产品数据
     */
    String getLastPopupProductData(@Param("id") Long id,
                                   @Param("releaseStatus") Integer releaseStatus);
}
